* {
    margin: 0;
    padding: 0;
    line-height: 1;
}

a {
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}

li {
    list-style: none;
}

/* h1,h2,h3,h4,h5,h6{
    font-weight: normal;
} */
img {
    display: block;
}

.w1200 {
    width: 1200px;
    margin: 0 auto;
}

body {
    background-color: #f5f5f5;
}

/* 头部 */
header {
    background-color: #000;
}

header .w1200 {
    display: flex;
    font-size: 12px;
    color: gainsboro;
}
header .w1200 a {
    color: gainsboro;
}
header p a:hover {
    color: white;
}

header p {
    margin-right: 34px;
    height: 36px;
    line-height: 36px;
}

header p:hover {
    color: white;
}

header span:hover {
    color: white;
}

header span {
    flex: 1;
    height: 36px;
    line-height: 36px;
}

header .last {
    margin-right: 0;
}

header .w1200 {
    position: relative;
}

header .w1200 .yuyu {
    position: absolute;
    right: -10px;
    top: 48px;
    width: 160px;
    height: 270px;
    display: none;
    z-index: 6;
}

header .w1200 .last:hover .yuyu {
    display: block;
}

header .w1200 .last:hover .caret {
    opacity: 0;
}





/* nav */
nav {
    background-color: #ffffff;
    height: 77px;
}

nav div {
    display: flex;
}

nav div img {
    width: 142px;
    height: 24px;
    margin: 21px 130px 0 0;
}

nav ul {
    display: flex;
    flex: 1;
}

nav ul li{
    margin-right: 33px;
    line-height: 77px;
    font-size: 16px;
}
nav ul li a{
    color: #000;
}

nav ul li:hover {
    color: rgb(14, 103, 236);
}

nav form {
    width: 182px;
    height: 40px;
    margin-top: 25px;
    margin-left: 14px;
    margin-right: 40px;
}

nav form input {
    float: left;
    border: 0;
    width: 200px;
    height: 30px;
    box-sizing: border-box;
    padding-left: 10px;
    background-color: aliceblue;
    border-radius: 25px;
}


/* 大图 */
body {
    background: #eee;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.swiper-container {
    width: 100%;
    height: 450px;
    margin: 0 auto;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 450px;
}

.box4 {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    /* background: url(https://file09.c.hihonor.com/shopdc/pic/2022510/0/4249151f-73eb-4123-8273-344493ef0ea0.jpg?https://file09.c.hihonor.com/shopdc/pic/2022510/0/4249151f-73eb-4123-8273-344493ef0ea0.jpg) no-repeat center; */
}

.box5 {
    margin-left: 10%;
    display: flex;
    width: 230px;
    height: 350px;
    background-color: #edf2f3;
    border-radius: 20px;
    margin-top: 30px;
    margin-bottom: 100px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
}

.box5 ul {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

.box5 ul li {
    text-align: center;
    line-height: 65px;
    width: 230px;
    height: 65px;
    display: flex;
}

.box5 a {
    width: 230px;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #333333;
    margin-left: 30px;
    line-height: 51px;
}

.box5 span {
    color: #afafaf;
    float: right;
    margin-right: 25px;
    line-height: 51px;
}
.box5>ol {
    flex: 1;
    position: relative;
    width: 100px;
}

.box5>ol>li {
    width: 400px;
    height: 400px;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 15px;
    background: white;
    display: none;
}


.box5>ol>li img{
    width: 300px;
    height: 400px;
    /* padding: 50px; */
}
.box5>ol>li:nth-child(4) img{
    width: 300px;
    height: 200px;
 
}

    .box5 ul li.active a {
            color: red;
        }
     .box5 ol li.active {
            display: flex;
        }


















/* 注册登录 */
.bigbox {
    display: flex;
    background-color: beige;
    border-radius: 10px;
    padding-left: 40px;
    margin-top: 10px;
}

.bigbox .register {
    padding: 20px;
    line-height: 44px;

}

.bigbox .register a {
    font-weight: 900;
    color: #000;
    margin-left: 5px;
    margin-right: 5px;

}

.bigbox .register .new {
    width: 60px;
    height: 23px;
    line-height: 23px;
    text-align: center;
    border: red solid 1px;
    color: red;
    padding: 3px;
    font-size: 12px;
    margin-left: 5px;
}

.bigbox .register .vip {
    color: rgb(174, 151, 21);
    width: 60px;
    padding: 3px;
    margin-left: 5px;
    height: 23px;
    line-height: 23px;
    text-align: center;
    font-size: 13px;
    background-color: #000;
}


.bigbox .huodong {
    display: flex;
    padding: 20px 0 0 0;
}

.bigbox .huodong dl {
    width: 100px;
    /* border-right: 2px solid gainsboro; */

}

.bigbox .huodong dl:nth-child(1) {
    border-left: 2px solid gainsboro;

}

.bigbox .huodong dl:nth-child(6) {
    border-right: 2px solid gainsboro;

}

.bigbox .huodong dl img {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    margin-bottom: 5px;
    display: flex;
}

.bigbox .huodong dl dd {
    text-align: center;
    margin: 0 auto;
    font-size: 12px;
    color: #655d5d;

}

.bigbox .huodong {
    display: flex;
}

.bigbox .dingdan {
    display: flex;
}

.bigbox .dingdan img {
    width: 40px;
    height: 40px;
    margin-left: 40px;
    margin-top: 25px;
}

.bigbox .dingdan span {
    margin-top: 33px;
    font-size: 20px;
    margin-left: 10px;
}

/* 新品 */
.box6 {
    display: flex;
    justify-content: space-evenly;
    margin-top: 15px;
}

.box6 img {
    width: 290px;
    height: 170px;
}

.bigbox .register a:hover {
    color: rgb(14, 103, 236);
}

.bigbox .huodong dl:hover dd {
    color: rgb(14, 103, 236);
}

.bigbox .dingdan span:hover {
    color: rgb(14, 103, 236);
}



/* 限时购标题 */
.xiantitle {
    display: flex;
    padding: 20px;
    align-items: center;
}

.xiantitle h1 {
    font-size: 30px;
    color: rgb(212, 11, 11);
}

.xiantitle p {
    font-size: 20px;
    color: black;
    margin: 0 10px 0 20px;
    font-weight: 900;
}

.xiantitle span {
    font-size: 30px;
    color: black;
}

/* 限时购列表  */
.xianlist {
    display: flex;
    padding: 20px 20px 0 20px;
    align-items: center;
    justify-content: space-evenly;

}

.xianlist .top {
    background-color: #ffffff;
    width: 220px;
    overflow: hidden;
    border-radius: 10px;


}

.xianlist .lattice .top img {
    width: 108px;
    display: block;
    margin: 30px auto;
}

.xianlist .top p {
    background-color: #fdf4ea;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #bea893;
}

.xianlist .lattice div+p {
    text-align: center;
    margin: 15px auto 5px;
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xianlist .lattice div+p+p {
    text-align: center;
    color: rgb(212, 11, 11);
    font-weight: 900;
    margin: 10px;
}

/* 热销单品 */
.hottitle {
    font-weight: normal;
    font-size: 30px;
    margin-top: 10px;
    padding-top: 20px;
    margin-bottom: 10px;
    padding-left:20px ;
}

.hot {
    display: flex;
    flex-wrap: wrap;
}

.hot .big {
    width: 460px;
    height: 280px;
    margin-bottom: 20px;
    margin-left: 20px;
    border-radius: 20px;
    overflow: hidden;

}

.hot .big img {
    width: 100%;
    height: 280px;

}

.hot .li {
    width: 220px;
    height: 280px;
    background-color: #fff;
    margin-left: 20px;
    border-radius: 20px;

}

.hot .li img {
    width: 120px;
    height: 150px;
    margin: 20px auto;
}

.hot .li p {
    text-align: center;
    font-weight: 900;
    line-height: 25px;
}


.hot .li p:nth-child(2) {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot .li p:nth-child(3) {
    font-size: 14px;
    font-weight: normal;
}

.hot .li p:nth-child(4) {
    color: rgb(212, 11, 11);

}

.tonglan {
    margin-top: 20px;
    margin-bottom: 20px;
}

.tonglan .img {
    width: 100%;
}

/* 选项 */
.xuanxiang {
    display: flex;
    height: 270px;
    padding-top: 30px;
    background-color: #fff;
    border-top: 1px solid #e8e8e8;
    border-bottom: 3px solid #e8e8e8;

}

.xuanxiang dl {
    width: 170px;

}

.xuanxiang dl dt {
    font-weight: 900;
    height: 30px;
    line-height: 30px;
    color: #525349;
    margin-left: 20px;

}

.xuanxiang dl dd {
    height: 24px;
    line-height: 24px;
    font-size: 13px;
    ;
    color: #837f76;
    margin-left: 20px;

}

.xuanxiang .erwei p {
    color: #5b5a5a;
    line-height: 30px;
    height: 30px;
    padding-left: 80px;
}

.xuanxiang .erwei {
    border-left: 1px solid #e8e8e8;

}


/* 尾部 */
.footer p {
    color: #797e7f;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
}

.footer p img {
    height: 30px;
    width: 100px;
}

.sidebar{
    width: 100px;
    background-color: white;
    border: 3px solid rgba(220, 220, 220, 0.538);
    border-radius: 10px;
    position: fixed;
    top:50%;
    right: 0px;
    transform: translateY(-50%);
    padding: 15px;
    /* display: none; */
}

.sidebar ul{
    width: 100%;
}

.sidebar ul li{
    margin: 30px auto 40px ;
    width: 70px;
    font-size: 13px;

}

.sidebar ul li.active{
    color: red;
}